# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2023年02月23日
"""
import docx
# from docx.enum.text import WD_ALIGN_PARAGRAPH

myDocument = docx.Document("散文名篇.docx")


for myRun in myDocument.paragraphs[1].runs:
	myRun.font.underline=docx.enum.text.WD_UNDERLINE.WAVY
myDocument.save("02散文名篇.docx")
